<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_09) on Sat Dec 29 12:31:13 CET 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>AttributeTable (gephi 0.8.2 API)</title>
<meta name="date" content="2012-12-29">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="AttributeTable (gephi 0.8.2 API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AttributeTable.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/gephi/data/attributes/api/AttributeRowFactory.html" title="interface in org.gephi.data.attributes.api"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/gephi/data/attributes/api/AttributeTable.html" target="_top">Frames</a></li>
<li><a href="AttributeTable.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.gephi.data.attributes.api</div>
<h2 title="Interface AttributeTable" class="title">Interface AttributeTable</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public interface <span class="strong">AttributeTable</span></pre>
<div class="block">Table hosts columns and permits all manipulation on them. Columns can be
 appened with different level of details. The table maintains a map with
 column identifier and title (header) in order they can be retrieved efficiently.
 <p>
 Tracking added or removed columns can be performed by adding an
 <a href="../../../../../org/gephi/data/attributes/api/AttributeListener.html" title="interface in org.gephi.data.attributes.api"><code>AttributeListener</code></a> to this table.</div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>Mathieu Bastian, Martin Škurla</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api"><code>AttributeColumn</code></a>, 
<a href="../../../../../org/gephi/data/attributes/api/AttributeRow.html" title="interface in org.gephi.data.attributes.api"><code>AttributeRow</code></a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#addColumn(java.lang.String, org.gephi.data.attributes.api.AttributeType)">addColumn</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
         <a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;type)</code>
<div class="block">Creates and add a new column to this table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#addColumn(java.lang.String, org.gephi.data.attributes.api.AttributeType, org.gephi.data.attributes.api.AttributeOrigin)">addColumn</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
         <a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;type,
         <a href="../../../../../org/gephi/data/attributes/api/AttributeOrigin.html" title="enum in org.gephi.data.attributes.api">AttributeOrigin</a>&nbsp;origin)</code>
<div class="block">Creates and add a new column to this table.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#addColumn(java.lang.String, java.lang.String, org.gephi.data.attributes.api.AttributeType, org.gephi.data.attributes.api.AttributeOrigin, java.lang.Object)">addColumn</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
         <a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;type,
         <a href="../../../../../org/gephi/data/attributes/api/AttributeOrigin.html" title="enum in org.gephi.data.attributes.api">AttributeOrigin</a>&nbsp;origin,
         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;defaultValue)</code>
<div class="block">Creates and add a new column to this table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#addColumn(java.lang.String, java.lang.String, org.gephi.data.attributes.api.AttributeType, org.gephi.data.attributes.spi.AttributeValueDelegateProvider, java.lang.Object)">addColumn</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
         <a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;type,
         <a href="../../../../../org/gephi/data/attributes/spi/AttributeValueDelegateProvider.html" title="class in org.gephi.data.attributes.spi">AttributeValueDelegateProvider</a>&nbsp;attributeValueDelegateProvider,
         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;defaultValue)</code>
<div class="block">Creates and add a new column to this table.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#addPropertiesColumn(org.gephi.data.properties.PropertiesColumn)">addPropertiesColumn</a></strong>(<a href="../../../../../org/gephi/data/properties/PropertiesColumn.html" title="enum in org.gephi.data.properties">PropertiesColumn</a>&nbsp;propertiesColumn)</code>
<div class="block">Creates and add a new properties column to this table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#countColumns()">countColumns</a></strong>()</code>
<div class="block">Returns the number of column in this table.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#getColumn(int)">getColumn</a></strong>(int&nbsp;index)</code>
<div class="block">Gets the column at the <code>index</code> of <code>null</code> if the
 index is not valid.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#getColumn(java.lang.String)">getColumn</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>
<div class="block">Gets the column with the given identifier or <code>null</code> if it is
 not found.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#getColumn(java.lang.String, org.gephi.data.attributes.api.AttributeType)">getColumn</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
         <a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;type)</code>
<div class="block">Gets the column which match the given parameters or <code>null</code> 
 if it is not found.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#getColumns()">getColumns</a></strong>()</code>
<div class="block">Returns the current columns.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#getName()">getName</a></strong>()</code>
<div class="block">Returns the name of this table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#hasColumn(java.lang.String)">hasColumn</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title)</code>
<div class="block">Return <code>true</code> if this table has a column with the given
 <code>title</code> or <code>id</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#mergeTable(org.gephi.data.attributes.api.AttributeTable)">mergeTable</a></strong>(<a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html" title="interface in org.gephi.data.attributes.api">AttributeTable</a>&nbsp;table)</code>
<div class="block">Merge this table with the given <code>table</code> given.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#removeColumn(org.gephi.data.attributes.api.AttributeColumn)">removeColumn</a></strong>(<a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;column)</code>
<div class="block">If exists, remove the column and all rows values.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html#replaceColumn(org.gephi.data.attributes.api.AttributeColumn, java.lang.String, java.lang.String, org.gephi.data.attributes.api.AttributeType, org.gephi.data.attributes.api.AttributeOrigin, java.lang.Object)">replaceColumn</a></strong>(<a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;source,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
             <a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;type,
             <a href="../../../../../org/gephi/data/attributes/api/AttributeOrigin.html" title="enum in org.gephi.data.attributes.api">AttributeOrigin</a>&nbsp;origin,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;defaultValue)</code>
<div class="block">If exists, replace <code>source</code> by the new column created from params.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getName()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getName()</pre>
<div class="block">Returns the name of this table.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the name of this table</dd></dl>
</li>
</ul>
<a name="getColumns()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumns</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>[]&nbsp;getColumns()</pre>
<div class="block">Returns the current columns. Call this method to iterate over columns.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the current columns.</dd></dl>
</li>
</ul>
<a name="countColumns()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countColumns</h4>
<pre>int&nbsp;countColumns()</pre>
<div class="block">Returns the number of column in this table.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the number of columns</dd></dl>
</li>
</ul>
<a name="addColumn(java.lang.String, org.gephi.data.attributes.api.AttributeType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addColumn</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;addColumn(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
                        <a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;type)</pre>
<div class="block"><p>Creates and add a new column to this table. The default origin is set at <code>DATA</code>.</p>
 <p>The title of the column is the identifier.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - the identifier of the column</dd><dd><code>type</code> - the type of the column</dd>
<dt><span class="strong">Returns:</span></dt><dd>the newly created column</dd></dl>
</li>
</ul>
<a name="addColumn(java.lang.String, org.gephi.data.attributes.api.AttributeType, org.gephi.data.attributes.api.AttributeOrigin)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addColumn</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;addColumn(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
                        <a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;type,
                        <a href="../../../../../org/gephi/data/attributes/api/AttributeOrigin.html" title="enum in org.gephi.data.attributes.api">AttributeOrigin</a>&nbsp;origin)</pre>
<div class="block"><p>Creates and add a new column to this table.</p>
 <p>The title of the column is the identifier.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - the identifier of the column</dd><dd><code>type</code> - the type of the column</dd><dd><code>origin</code> - the origin of the column</dd>
<dt><span class="strong">Returns:</span></dt><dd>the newly created column</dd></dl>
</li>
</ul>
<a name="addColumn(java.lang.String, java.lang.String, org.gephi.data.attributes.api.AttributeType, org.gephi.data.attributes.api.AttributeOrigin, java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addColumn</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;addColumn(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
                        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
                        <a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;type,
                        <a href="../../../../../org/gephi/data/attributes/api/AttributeOrigin.html" title="enum in org.gephi.data.attributes.api">AttributeOrigin</a>&nbsp;origin,
                        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;defaultValue)</pre>
<div class="block"><p>Creates and add a new column to this table.</p>
 <p>The title can't be null, empty or already existing in the table</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - the identifier of the column</dd><dd><code>title</code> - the title of the column</dd><dd><code>type</code> - the type of the column</dd><dd><code>origin</code> - the origin of the column.</dd><dd><code>defaultValue</code> - the default value of the column.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the newly created column</dd></dl>
</li>
</ul>
<a name="addColumn(java.lang.String, java.lang.String, org.gephi.data.attributes.api.AttributeType, org.gephi.data.attributes.spi.AttributeValueDelegateProvider, java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addColumn</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;addColumn(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
                        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
                        <a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;type,
                        <a href="../../../../../org/gephi/data/attributes/spi/AttributeValueDelegateProvider.html" title="class in org.gephi.data.attributes.spi">AttributeValueDelegateProvider</a>&nbsp;attributeValueDelegateProvider,
                        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;defaultValue)</pre>
<div class="block"><p>Creates and add a new column to this table.</p>
 <p>The title can't be null, empty or already existing in the table</p>
 <p>Attribute origin will be set to AttributeOrigin.DELEGATE.</p>     *</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - the identifier of the column</dd><dd><code>title</code> - the title of the column</dd><dd><code>type</code> - the type of the column</dd><dd><code>attributeValueDelegateProvider</code> - the attribute value delegate provider of the column</dd><dd><code>defaultValue</code> - the default value of the column</dd>
<dt><span class="strong">Returns:</span></dt><dd>the newly created column</dd></dl>
</li>
</ul>
<a name="addPropertiesColumn(org.gephi.data.properties.PropertiesColumn)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addPropertiesColumn</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;addPropertiesColumn(<a href="../../../../../org/gephi/data/properties/PropertiesColumn.html" title="enum in org.gephi.data.properties">PropertiesColumn</a>&nbsp;propertiesColumn)</pre>
<div class="block">Creates and add a new properties column to this table. All needed informations are set in
 PropertiesColumn enum instance.     *</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>propertiesColumn</code> - the properties column</dd>
<dt><span class="strong">Returns:</span></dt><dd>the newly created column</dd></dl>
</li>
</ul>
<a name="removeColumn(org.gephi.data.attributes.api.AttributeColumn)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeColumn</h4>
<pre>void&nbsp;removeColumn(<a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;column)</pre>
<div class="block">If exists, remove the column and all rows values.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>column</code> - the column that is to be removed</dd></dl>
</li>
</ul>
<a name="replaceColumn(org.gephi.data.attributes.api.AttributeColumn, java.lang.String, java.lang.String, org.gephi.data.attributes.api.AttributeType, org.gephi.data.attributes.api.AttributeOrigin, java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceColumn</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;replaceColumn(<a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;source,
                            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
                            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
                            <a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;type,
                            <a href="../../../../../org/gephi/data/attributes/api/AttributeOrigin.html" title="enum in org.gephi.data.attributes.api">AttributeOrigin</a>&nbsp;origin,
                            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;defaultValue)</pre>
<div class="block">If exists, replace <code>source</code> by the new column created from params.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - the column that is to be removed</dd><dd><code>id</code> - the identifier of the column</dd><dd><code>title</code> - the title of the column</dd><dd><code>type</code> - the type of the column</dd><dd><code>defaultValue</code> - the default value of the column</dd>
<dt><span class="strong">Returns:</span></dt><dd>the newly created column, or
 <code>null</code> if <code>source</code> can't be found</dd></dl>
</li>
</ul>
<a name="getColumn(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumn</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;getColumn(int&nbsp;index)</pre>
<div class="block">Gets the column at the <code>index</code> of <code>null</code> if the
 index is not valid.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - a valid column index range</dd>
<dt><span class="strong">Returns:</span></dt><dd>the column, or <code>null</code> if not found</dd></dl>
</li>
</ul>
<a name="getColumn(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumn</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;getColumn(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</pre>
<div class="block">Gets the column with the given identifier or <code>null</code> if it is
 not found.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - the column <code>id</code> or <code>title</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the column, or <code>null</code> if not found</dd></dl>
</li>
</ul>
<a name="getColumn(java.lang.String, org.gephi.data.attributes.api.AttributeType)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumn</h4>
<pre><a href="../../../../../org/gephi/data/attributes/api/AttributeColumn.html" title="interface in org.gephi.data.attributes.api">AttributeColumn</a>&nbsp;getColumn(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title,
                        <a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api">AttributeType</a>&nbsp;type)</pre>
<div class="block">Gets the column which match the given parameters or <code>null</code> 
 if it is not found.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>title</code> - the column <code>id</code> or <code>title</code></dd><dd><code>type</code> - the column <code>type</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the column, or <code>null</code> if not found</dd></dl>
</li>
</ul>
<a name="hasColumn(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasColumn</h4>
<pre>boolean&nbsp;hasColumn(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;title)</pre>
<div class="block">Return <code>true</code> if this table has a column with the given
 <code>title</code> or <code>id</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>title</code> - the column <code>title</code> that is to be searched</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if found, or <code>false</code>
                      otherwise</dd></dl>
</li>
</ul>
<a name="mergeTable(org.gephi.data.attributes.api.AttributeTable)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>mergeTable</h4>
<pre>void&nbsp;mergeTable(<a href="../../../../../org/gephi/data/attributes/api/AttributeTable.html" title="interface in org.gephi.data.attributes.api">AttributeTable</a>&nbsp;table)</pre>
<div class="block">Merge this table with the given <code>table</code> given. New columns from
 <code>table</code> are added to this table. 
 <p>
 Columns are compared according to their <code>id</code> and <code>type</code>.
 Columns found in <code>model</code> are appended only if they no column
 exist with the same <code>id</code> and <code>type</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>table</code> - the table that is to be merged with this table</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AttributeTable.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/gephi/data/attributes/api/AttributeRowFactory.html" title="interface in org.gephi.data.attributes.api"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/gephi/data/attributes/api/AttributeType.html" title="enum in org.gephi.data.attributes.api"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/gephi/data/attributes/api/AttributeTable.html" target="_top">Frames</a></li>
<li><a href="AttributeTable.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007-2012 <a href="http://consortium.gephi.org">Gephi Consortium</a>. All Rights Reserved.</small></p>
</body>
</html>
